package example;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * Hello world!
 *
 */


@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class})
//@EnableEurekaClient
@EnableDiscoveryClient //通用注解
public class App {
    public static void main(String[] args) {
        SpringApplication.run(App.class,args);
    }
}
